# $Id: PKGBUILD 67455 2012-03-11 21:00:52Z lcarlier $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Jeff Mickey <jeff@archlinux.org>

pkgname=castget
pkgver=1.1.0
pkgrel=2
pkgdesc="A simple, command-line based RSS enclosure downloader"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/castget/"
license=('GPL')
depends=('glib2' 'libxml2' 'curl' 'id3lib')
options=('!libtool')
changelog=$pkgname.changelog
source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('e80096715efc17d1d87de793871e0006')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}
package() {
  cd ${srcdir}/$pkgname-$pkgver

  make DESTDIR=${pkgdir} install
}
